package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Post implements Serializable {
    @Serial
    private static final long serialVersionUID = 4203213724885664367L;


   //用户部分
   private String avatar;
   private String nickname;
   private String level;
   private String certification;
private String introduce;

   public String getAvatar() {
      return avatar;
   }

   public void setAvatar(String avatar) {
      this.avatar = avatar;
   }

   public String getNickname() {
      return nickname;
   }

   public void setNickname(String nickname) {
      this.nickname = nickname;
   }

   public String getLevel() {
      return level;
   }

   public void setLevel(String level) {
      this.level = level;
   }

   public String getCertification() {
      return certification;
   }

   public void setCertification(String certification) {
      this.certification = certification;
   }

   //主体部分
   private String  post_id;//帖子id
   private String  topic_ids;//所属话题id
   private String  uid;//用户id
   private String  subject;//标题
   private String  content;//简介
   private String  message;//帖子内容
   private String  cover;//题头图
   private String  created_at;//创建时间
   private String  is_official;//是否为官方1，是，0不是
   private Integer  max_floor;//评论数量
   private String  is_original ;//是否为原创
   private Integer  clickCount;//点赞数




   public String getPost_id() {
      return post_id;
   }

   public void setPost_id(String post_id) {
      this.post_id = post_id;
   }

   public String getTopic_ids() {
      return topic_ids;
   }

   public void setTopic_ids(String topic_ids) {
      this.topic_ids = topic_ids;
   }

   public String getUid() {
      return uid;
   }

   public void setUid(String uid) {
      this.uid = uid;
   }

   public String getSubject() {
      return subject;
   }

   public void setSubject(String subject) {
      this.subject = subject;
   }

   public String getContent() {
      return content;
   }

   public void setContent(String content) {
      this.content = content;
   }

   public String getMessage() {
      return message;
   }

   public void setMessage(String message) {
      this.message = message;
   }

   public String getCover() {
      return cover;
   }

   public void setCover(String cover) {
      this.cover = cover;
   }

   public String getCreated_at() {
      return created_at;
   }

   public void setCreated_at(String created_at) {
      this.created_at = created_at;
   }

   public String getIs_official() {
      return is_official;
   }

   public void setIs_official(String is_official) {
      this.is_official = is_official;
   }

   public Integer getMax_floor() {
      return max_floor;
   }

   public void setMax_floor(Integer max_floor) {
      this.max_floor = max_floor;
   }

   public String getIs_original() {
      return is_original;
   }

   public void setIs_original(String is_original) {
      this.is_original = is_original;
   }

   public Integer getClickCount() {
      return clickCount;
   }

   public void setClickCount(Integer clickCount) {
      this.clickCount = clickCount;
   }


   public Post(String post_id, String topic_ids, String uid, String subject, String content, String message, String cover, String created_at, String is_official, Integer max_floor, String is_original, Integer clickCount) {
      this.post_id = post_id;
      this.topic_ids = topic_ids;
      this.uid = uid;
      this.subject = subject;
      this.content = content;
      this.message = message;
      this.cover = cover;
      this.created_at = created_at;
      this.is_official = is_official;
      this.max_floor = max_floor;
      this.is_original = is_original;
      this.clickCount = clickCount;
   }
   public Post() {
   }


   public Post(String avatar, String nickname, String level, String certification, String post_id, String topic_ids, String uid, String subject, String content, String message, String cover, String created_at, String is_official, Integer max_floor, String is_original, Integer clickCount) {
      this.avatar = avatar;
      this.nickname = nickname;
      this.level = level;
      this.certification = certification;
      this.post_id = post_id;
      this.topic_ids = topic_ids;
      this.uid = uid;
      this.subject = subject;
      this.content = content;
      this.message = message;
      this.cover = cover;
      this.created_at = created_at;
      this.is_official = is_official;
      this.max_floor = max_floor;
      this.is_original = is_original;
      this.clickCount = clickCount;
   }


   public String getIntroduce() {
      return introduce;
   }

   public void setIntroduce(String introduce) {
      this.introduce = introduce;
   }


   public Post(String avatar, String nickname, String level, String certification, String introduce, String post_id, String topic_ids, String uid, String subject, String content, String message, String cover, String created_at, String is_official, Integer max_floor, String is_original, Integer clickCount) {
      this.avatar = avatar;
      this.nickname = nickname;
      this.level = level;
      this.certification = certification;
      this.introduce = introduce;
      this.post_id = post_id;
      this.topic_ids = topic_ids;
      this.uid = uid;
      this.subject = subject;
      this.content = content;
      this.message = message;
      this.cover = cover;
      this.created_at = created_at;
      this.is_official = is_official;
      this.max_floor = max_floor;
      this.is_original = is_original;
      this.clickCount = clickCount;
   }

}
